<?php

class BASIL_TestContact extends Com_Basil_DynamicData_Object
{

    public function __construct()
    {
        parent::__construct('test-contact');
        $this->addEntityFieldsList(array( "first_name" => array( "validation" => "regex","regex" => "^[A-Za-z\- ]+$"),"last_name" => array( "validation" => "regex","regex" => "^[A-Za-z\- ]+$"),"belongs_to_account" => array( "validation" => "entity","type" => "entity","entity" => "test-account")));
    }


}

